<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <script type="text/javascript" th:src="@{/js/jquery-1.11.1.min_044d0927.js}"></script>
        <script type="text/javascript" th:inline="javascript">
            //获取协议名称
            var scheme = [[${#request.getScheme()}]];
            //获取服务器名称
            var serverName = [[${#request.getServerName()}]];
            //获取服务器端口号
            var serverPort = [[${#request.getServerPort()}]];
            //获取上下文根
            var contextPath = [[${#request.getContextPath()}]]
            var allPath = scheme + "://" + serverName + ":" + serverPort + contextPath;

            $(function (){

            })

            $.ajax({
                url: allPath + "/",
                data: {},
                type: "get",
                dataType: "json",
                success: function (data) {
                }
            })
        </script>
    </head>
    <body>

        <!--
            Map<String, Object> map = new HashMap<>();

        /*
        data:
        {"success":ture/false}
        */
        if (data.success){

        }else {
        alert("")
        }

        //日历的控件
        $(".time").datetimepicker({
        minView: "month",
        language: 'zh-CN',
        format: 'yyyy-mm-dd',
        autoclose: true,
        todayBtn: true,
        pickerPosition: "bottom-left"
        });
        -->

       <!-- <div th:each="myOnetMap:${application.typeMap}">
            一级分类:<span th:text="${myOnetMap.key}"></span>
            <div th:each="myTwoList:${myOnetMap.value}">
                <div th:each="myTwoMap:${myTwoList}">
                    二级分类:<span th:text="${myTwoMap.key}"></span>
                    <div th:each="threeList:${myTwoMap.value}">
                        <div th:each="productType:${threeList}">
                            三级分类:<span th:text="${productType.name}"></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>-->
    </body>
</html>